package com.hds.modules.sys.entity.base;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author guonan
 * @Email guonan@yewcn.com
 * @Description 会员
 * @Date 2018/6/12 13:56
 */
@TableName("tb_membership")
public class SysMemberShipEntity {

    @TableId
    private Integer id;

    /**
     * 用户(会员)等级 [例如：0：游客，1：VIP会员，2：金卡会员]
     */
    private Integer level;

    /**
     * 会员名称
     */
    private String name;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * img
     */
    private String img;
    /**
     * logo
     */
    private String logo;

    /**
     * 内容描述
     */
    private String content;

    /**
     * 创建时间
     */
    @JsonIgnore
    private Date createTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
